<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/3/29
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <jsp:include page="./common/header.jsp"></jsp:include>

    <jsp:include page="./common/menu.jsp"></jsp:include>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
        <div class="layui-body">
            <!-- 内容主体区域 -->
            <%--            <div style="padding: 12px;">默认表格</div>--%>
            <legend>默认表格</legend>
            <div class="layui-form">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col width="150">
                        <col width="150">
                        <col width="150">
                        <col width="150">
                    </colgroup>
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>姓名</th>
                        <th>薪资</th>
                        <th>地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>

                        <td>2016-11-29</td>
                        <td>人生就像是一场修行</td>
                        <td>人生就像是一场修行</td>
                        <td>人生就像是一场修行</td>
                        <td>人生就像是一场修行</td>

                    </tr>
                    <tr>
                        <td>2016-11-28</td>
                        <td>许闲心</td>
                        <td>许闲心</td>
                        <td>人生就像是一场修行</td>
                        <td>
                            <button type="button" class="layui-btn">修改</button>

                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </fieldset>


    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>
<script src="${pageContext.request.contextPath}/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('[jquery]', function(){
        var $= layui.$;
        //获取id
        $("#insertDept").click(function (){
            location.href="${pageContext.request.contextPath}/dept/insertUI"
        })

    });
</script>
</body>
</html>
